package com.project.lx.text.contract;

import android.support.v4.app.FragmentManager;
import android.support.v4.view.ViewPager;

import com.project.lx.text.base.BasePresenter;
import com.project.lx.text.base.BaseView;

/**
 * @author: Meteor
 * @description: 契约类、使view 和 Presenter 之前的方法清晰
 * @version:
 * @date: 2016/12/28 0028 21:49
 * @company: jijiaxuan.com
 * @email: lx802315@163.com
 */
public class IMainContract {
    public interface IMainView extends BaseView<IMainPresenter> {

        /**
         * 获取显示内容的Viewpager
         * @return viewpager 对象
         */
        ViewPager getmActMainVpContent();

        /**
         * 获取当前activity的Fragment管理器
         * @return  Fragment管理器
         */
        FragmentManager getManager();
    }
    public interface IMainPresenter extends BasePresenter<IMainView> {

    }
}
